package org.ddd.orderdemo.remote.service;

import org.ddd.orderdemo.domain.infra.remote.IProductRemoteService;
import org.ddd.orderdemo.domain.model.product.Product;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;

public class ProductRemoteService implements IProductRemoteService {

    private Logger logger = LoggerFactory.getLogger(ProductRemoteService.class);


    private ProductRemoteServiceAdapter productRemoteServiceAdapter;

    @Override
    public List<Product> getProductInfos(List<Long> productIds) {
        return productRemoteServiceAdapter.getProductInfos(productIds);
    }

}
